package com.zw.pm.gen.entity;

import java.util.Date;

public class Program {
    private Integer id;

    private String address;

    private Date createTime;

    private Date date;

    private String personnel;

    private Integer status;

    private String title;

    private Integer userId;

    private String category;

    private String sender;

    private String receiver;

    private String content;

    public Program(Integer id, String address, Date createTime, Date date, String personnel, Integer status, String title, Integer userId, String category, String sender, String receiver) {
        this.id = id;
        this.address = address;
        this.createTime = createTime;
        this.date = date;
        this.personnel = personnel;
        this.status = status;
        this.title = title;
        this.userId = userId;
        this.category = category;
        this.sender = sender;
        this.receiver = receiver;
    }

    public Program(Integer id, String address, Date createTime, Date date, String personnel, Integer status, String title, Integer userId, String category, String sender, String receiver, String content) {
        this.id = id;
        this.address = address;
        this.createTime = createTime;
        this.date = date;
        this.personnel = personnel;
        this.status = status;
        this.title = title;
        this.userId = userId;
        this.category = category;
        this.sender = sender;
        this.receiver = receiver;
        this.content = content;
    }

    public Program() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getPersonnel() {
        return personnel;
    }

    public void setPersonnel(String personnel) {
        this.personnel = personnel == null ? null : personnel.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category == null ? null : category.trim();
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender == null ? null : sender.trim();
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver == null ? null : receiver.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}